/*

* ------------------------------------------------------------------------
* ------------------------------------------------------------------------
* |     Smart-Shop开源商城系统/ Java商城-首选电商平台系统 请务必保留此注释头信息
* |     开源地址: https://gitee.com/ningbo-qishan/gruul-mall
* ------------------------------------------------------------------------
* ------------------------------------------------------------------------
* |     可正常分享和学习源码,未经授权 不可商用！
* |     商业版中台购买/开源版商业授权 联系技术客服
* |     官网:  https://www.73app.cn/
* ------------------------------------------------------------------------
* ------------------------------------------------------------------------
* |     Copyright (c) 2016-2999 宁波启山智软科技有限公司
* |     版权所有 ,侵权必究！
* ------------------------------------------------------------------------

*/
package com.medusa.gruul.integral.api.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @Description: 兑换积分优惠券Dto
 * @Author: whh
 * @Date : 2020/1/7 9:56
 */
@Data
public class IntegralCouponDto {

	@NotNull
	@ApiModelProperty(value = "所需积分值")
	private BigDecimal integralValue;

	@NotNull
	@ApiModelProperty(value = "优惠券有效期")
	private String couponValidity;


	@ApiModelProperty(value = "微信昵称")
	private String wxuserName;

	@ApiModelProperty(value = "收货人姓名")
	private String receiverName;

	@NotNull
	@ApiModelProperty(value = "用户Id")
	private String userId;

	@NotNull
	@ApiModelProperty(value = "优惠券类型")
	private Integer couponType;

	@ApiModelProperty(value = "优惠折扣（不能大于10）")
	private BigDecimal discount;

	@ApiModelProperty(value = "优惠金额")
	private BigDecimal discountAmount;

	@ApiModelProperty(value = "满足条件金额")
	private BigDecimal conditionAmount;

    @ApiModelProperty(value = "优惠券天数")
	private Integer effectiveDays;

    @ApiModelProperty(value = "有效期类型 0-固定时间 1-领劵立即生效")
    private  Integer effectiveType;


}
